/* basic tar header block */

#define BLOCKSIZE 512

typedef struct _tar_data
{
	union {
		char block[BLOCKSIZE];
		struct
		{
			char name[100];
			char mode[8];
			char uid[8];
			char gid[8];
			char size[12];
			char mtime[12];
			char checksum[8];
			char typeflag;
			char linkname[100];
			char magic[6];
			char version[2];
			char uname[32];
			char gname[32];
			char devmajor[8];
			char devminor[8];
			char prefix[155];
			char pad[12];
		};
	};
} tar_block_t;
